SET(LIBRARY_OUTPUT_PATH ${UPDATE_FETCHER_SOURCE_DIR}/build)
SET(CMAKE_C_COMPILER g++)
ADD_DEFINITIONS(-DWITH_OPENSSL -DSOAP_DEBUG)
SET(SRC_LIST AsyncHandler.cpp UpdateFetcher.cpp cacerts.c UpdateHandler.cpp stdsoap2.cpp)
INCLUDE_DIRECTORIES(${UPDATE_FETCHER_SOURCE_DIR}/include 
                    ${UPDATE_FETCHER_SOURCE_DIR}/include/boost_1_53_0
                    ${UPDATE_FETCHER_SOURCE_DIR}/third_party/gsoap-2.8.14/gsoap
                    ${UPDATE_FETCHER_SOURCE_DIR}/third_party/openssl-1.0.1e/include
                    ${UPDATE_FETCHER_SOURCE_DIR}/src/wusp)
ADD_LIBRARY(util STATIC ${SRC_LIST})
